/**
 * Copyright (c) 2012-2014 All Rights Reserved.
 */
package com.easy.framwork.config;

import com.easy.framwork.Plugin;

/**
 * 
 * @author wy
 * @version v 0.1 2014-1-6 下午9:50:47 wy Exp $
 */
public class PluginConfig {

    /** 插件名称 */
    private String name;

    /** 拦截器 */
    private Plugin plugin;

    /** 拦截器类 */
    private Class<? extends Plugin> pluginClass;

    /**
     * Getter method for property <tt>name</tt>.
     * 
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * Setter method for property <tt>name</tt>.
     * 
     * @param name name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * Getter method for property <tt>plugin</tt>.
     * 
     * @return plugin
     */
    public Plugin getPlugin() {
        return plugin;
    }

    /**
     * Setter method for property <tt>plugin</tt>.
     * 
     * @param plugin plugin
     */
    public void setPlugin(Plugin plugin) {
        this.plugin = plugin;
    }

    /**
     * Getter method for property <tt>pluginClass</tt>.
     * 
     * @return pluginClass
     */
    public Class<? extends Plugin> getPluginClass() {
        return pluginClass;
    }

    /**
     * Setter method for property <tt>pluginClass</tt>.
     * 
     * @param pluginClass pluginClass
     */
    public void setPluginClass(Class<? extends Plugin> pluginClass) {
        this.pluginClass = pluginClass;
    }

}
